package io.renren.modules.member.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExamDto implements Serializable {

    private Integer totalCircle;

    private String studentCode;

    private String type;

    private BigDecimal achieve;

    private Integer circle;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    @Override
    public String toString() {
        return "ExamDto{" +
                "totalCircle=" + totalCircle +
                ", studentCode='" + studentCode + '\'' +
                ", type='" + type + '\'' +
                ", achieve=" + achieve +
                ", circle=" + circle +
                ", date=" + date +
                '}';
    }
}
